package com.moli.iov.down.model.dto.req;

import java.io.Serializable;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author zql
 * @since 2019/9/18 13:32
 */
@Data
public class BaseDto implements Serializable {

  private static final long serialVersionUID = -6988401037047401831L;

  /**
   * 操作员id
   */
  @NotNull(message = "操作员id不能为空", groups = {Base.class})
  private Long sysUserId;

  /**
   * 操作真实姓名
   */
  @NotEmpty(message = "操作员名称不能为空", groups = {Base.class})
  private String sysAccount;

  /**
   * 操作员id
   */
  private String sysRealName;

  /**
   * 系统操作员用户类型:1、平台用户 2、企业用户
   */
  @NotNull(message = "用户类型不能为空", groups = {Base.class})
  private Integer sysUserType;

  /**
   * 操作员公司id
   */
  private Long sysCompanyId;

  /**
   * 操作员公司名称
   */
  private String sysCompanyName;

  /**
   * 当前页
   */
  private Long pageNum = 1L;

  /**
   * 每页条数
   */
  private Long pageSize = 10L;

  public interface Base{}
}
